<html>
<head></head>
<body>{{template "header.html"}}
{{range .}}
	<p>
		<a href="editCategoryForm?id={{.Id}}">{{.Name}}</a>
		<a class="del" href="deleteCategory?id={{.Id}}">x</a>
	</p>
{{end}}

<h3>Add category:</h3>
<form action="addCategory" method="POST">
	<label for="name">Name:</label>
	<input type="text" name="name"/>
	<input type="submit" value="Save"/>
</form>
</body>
</html>